import axios from '@/utils/http'
import { auth, authUrl } from '@/utils/config'

const oauth = {
    /**
     * @description:登录
     * @param {Object:AccountForm}
     * @return:null
     */

     login(loginForm){
         return axios.post(`/oauth/token`,loginForm,{
             auth
         })
     },
     memberInfo(queryForm){
         return axios.get(`/member/getUserNameRole`,queryForm)
     }
}

export default oauth